package io.mvvm.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {

    @GetMapping("/get/{str}")
    public String get(@PathVariable("str") String str){
        System.out.println("provider");
        System.out.println("------" + str + "-------");
        return str;
    }

}
